From 7874c2e1b37b236f97f1bb67d14f3125260fe6a0 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Tue, 21 Aug 2007 19:24:59 +0000 Subject: [PATCH] mapsend: Tweak possible C89 issue. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2967 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/mapsend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/mapsend.c b/gpsbabel/mapsend.c index b7910bf56..ab91003a6 100644 --- a/gpsbabel/mapsend.c +++ b/gpsbabel/mapsend.c @@ -505,8 +505,8 @@ static void mapsend_wpt_write(void) { mapsend_hdr hdr = {13, {"4D533330 MS"}, {"30"}, ms_type_wpt, {0, 0, 0}}; - int wpt_count = waypt_count(); int n = 0; + int wpt_count = waypt_count(); if (global_opts.objective == trkdata) { mapsend_track_write(); -- 2.30.2